<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .box {
        margin: 0 auto;
        width: 120px;
        height: 136px;
        border: 1px solid skyblue;
        background-image: url("./run.jpg");
        animation: run 1s steps(10) 0s infinite;
      }
      @keyframes run {
        to {
          background-position: -1200px 0;
        }
      }
    </style>
  </head>
  <body>
    <div class="box"></div>
  </body>
</html>
